package cn.hairui.blog.dao;

import cn.hairui.blog.entity.Articaltag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-07
 */
@Mapper
public interface ArticaltagMapper extends BaseMapper<Articaltag> {

    @Delete("delete from articaltag where tag_id=#{id}")
    void removeByTagId(int id);
}
